package com.diandi.signature.mapper;

import com.diandi.signature.bean.runbatch.SignatureBatchRunInfo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 跑批接口
 * @author mwz
 * @create 2017-08-23 14:03
 * @version V1.0.0
 */
@Repository
public interface SignatureBatchRunInfoMapper {

    /**
     * 插入消息
     * @param signatureBatchRunInfo
     * @return
     */
    public Integer insertSignatureBatchRunInfo(SignatureBatchRunInfo signatureBatchRunInfo);

    List<SignatureBatchRunInfo> queryTask(Map<String, Object> paramMap);

    Integer updateSignatureBatchRunInfo(SignatureBatchRunInfo signatureBatchRunInfo);

    List<SignatureBatchRunInfo> queryList(Map<String, Object> paramMap);

    Integer queryCount(Map<String, Object> paramMap);
}
